
<!DOCTYPE html>
<html>
<head lang="en">
<meta charset="UTF-8">
<title>多道互联</title>
<link rel="stylesheet" href="/duodao_website/css/global.css" />
<link rel="stylesheet" href="/duodao_website/css/animate.css" />
<link rel="stylesheet" href="/duodao_website/css/main.css" />
<link rel="stylesheet" href="/duodao_website/css/validate.css" />
</head>
<body>
	<div class="top login_top">
		<div class="zhong clearfix">
			<p class="zc nobg floatright login_info" style="display:">
				<a href="#" class="login_btn">登录</a><a href="#" class="reg_btn" data-register="1">注册</a>
			</p>
			<div class="user inlineblock floatright clearfix relative login_ok"
				style="display:none">
				<span class="user_img inlineblock floatleft"><img
					src="http://img.duodaohulian.com/img/content/user1.png"></span> <span class="user_name floatleft marl10">Hi,193847658</span>
				<ul class="user_drop">
					<li><a href="javascript:void(0)" onclick="personalCenterClick()">个人中心</a></li>
					<li><a href="javascript:void(0)" onclick="myHomeClick()">我的家</a></li>
					<li><a class="logout">退出账号</a></li>
				</ul>
			</div>
		</div>
	</div>
	<div class="login_out relative">
		<div class="earth"></div>
		<div class="step_light chfont aligncenter" id="step_1">
			<span class="children"><img src="http://img.duodaohulian.com/img/content/t.png"></span>
			<p class="first">这里是</p>
			<p>距离地球</p>
			<p>3000光年之外的</p>
			<p class="font30">多道星球</p>
			<p>点击获取多道星球的通行证吧!</p>
			<p class="aligncenter arrow_bt">
				<img src="http://img.duodaohulian.com/img/content/arrow_bt.png">
			</p>
			<p class="aligncenter">
				<a href="javascript:;" id="btn_ok" class="btn btn_ok"></a>
			</p>
		</div>
		<div class="login_nav aligncenter">
			<a href="/duodao_website/pages/activity.html">
				<p>
					<img src="http://img.duodaohulian.com/img/content/nav1.png">
				</p>
				<p>星际活动</p>
			</a>
			<a href="/duodao_website/pages/focus.html">
				<p>
					<img src="http://img.duodaohulian.com/img/content/nav2.png">
				</p>
				<p>多道焦点</p>
			</a>
			<a href="/duodao_website/pages/forum.html">
				<p>
					<img src="http://img.duodaohulian.com/img/content/nav3.png">
				</p>
				<p>多道论坛</p>
			</a>
			<a href="/duodao_website/pages/theatre.html">
				<p>
					<img src="http://img.duodaohulian.com/img/content/nav4.png">
				</p>
				<p>星际剧场</p>
			</a>
			<a href="/duodao_website/pages/aboutUs.html">
				<p>
					<img src="http://img.duodaohulian.com/img/content/nav5.png">
				</p>
				<p>多道星球</p>
			</a>
		</div>
		<div class="pop pop_login" id="pop_login" style="display:none"></div>
		<!--注册信息begin-->
		<div class="pop pop_reg" id="pop_reg" style="display: none;">
		</div>
		<!--注册信息over-->
		<!--注册完成显示begin-->
		<div class="step_light chfont aligncenter" id="step_2">
			<span class="children"><img src="http://img.duodaohulian.com/img/content/t.png"></span>
			<p class="first font30">注册完成</p>
			<p>为了让小伙伴们</p>
			<p>更好的认识你</p>
			<p>再透漏一些小信息呗！</p>
			<p class="aligncenter arrow_bt">
				<img src="http://img.duodaohulian.com/img/content/arrow_bt.png">
			</p>
			<p class="aligncenter">
				<a href="#" class="btn btn_ok btn_finish"></a>
			</p>
		</div>
		<!--注册完成显示over-->
	</div>
	<!--注册页面的白色半透明遮罩begin-->
	<div class="mask mask_b" style="display: none;"></div>
	<!--注册页面的白色半透明遮罩over-->
	<div class="footer aligncenter font12">深圳市多道互联科技有限公司
		粤ICP备16060034号</div>
	<script type="text/javascript" src="/duodao_website/js/jquery-2.1.4.min.js"></script>
	<script type="text/javascript" src="/duodao_website/js/common/url.js"></script>
	<script type="text/javascript" src="/duodao_website/js/common/common.js"></script>
	<script type="text/javascript" src="/duodao_website/js/common/httpService.js"></script>
	<script type="text/javascript" src="/duodao_website/js/regist/regist.js"></script>
	<script type="text/javascript" src="/duodao_website/js/module/login.js"></script>
	<script>
		$(function() {
			var $earth = $('.earth');
			$earth.click(function() {
				if(!common.getCookie("loginName")){
					$(".mask_b").css("display","block");
					$('#step_1').fadeIn();
					$('#step1 .btn_ok').click(function() {
						$('#step_1').fadeOut();
						$('#pop_reg').fadeIn();
						$(".reg_btn").click();
						$(".login_ok").css("display","block");
						$(".login_info").css("display","none");
					});
				}else{
					window.location.href="myHome.html";
				}
			});


			$(".login_out").on("click"," #step_2 .btn_finish",function(){
				window.location = "/duodao_website/pages/buildMyHome.html";
			});

			if(common.getCookie("loginName")){
				var loginName = common.getCookie("loginName");
				$(".login_ok .user_name").html("Hi,"+loginName);
				$(".login_ok").css("display","block");
				$(".login_info").css("display","none");
			}

//			$(".reg_btn").off("click").on("click",function(){
//				$(".mask_b").css("display","block");
//				$(".pop_reg").css("display","block");
//			});
		})
		/* function star(){
			if(common.getCookie("loginName")) {
				window.location.href="myHome.html";
			}else{
				$(".reg_btn").click();
			}

		} */
	</script>
</body>
</html>